package com.tedu.openmedical.duplicate.basic_info.mapper;

import com.tedu.openmedical.duplicate.basic_info.pojo.dto.CopySettingsParam;
import com.tedu.openmedical.duplicate.basic_info.pojo.dto.InfoParam;
import com.tedu.openmedical.duplicate.basic_info.pojo.entity.History;
import com.tedu.openmedical.duplicate.basic_info.pojo.entity.HospitalInfo;
import com.tedu.openmedical.duplicate.basic_info.pojo.entity.MailInfo;
import com.tedu.openmedical.duplicate.basic_info.pojo.vo.CopySettingsVO;
import com.tedu.openmedical.duplicate.basic_info.pojo.vo.HospitalInfoVO;
import com.tedu.openmedical.duplicate.basic_info.pojo.vo.MailInfoVO;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface BasicInfoMapper {
    public HospitalInfoVO getHosInfo();
    public MailInfoVO getMailInfo();
    public List<History> getHosInfoHistory();
    public List<History> getMailInfoHistory();
    public int insertHosHistory(History history);
    public int updateHosInfo(HospitalInfo hospitalInfo);
    public int insertMailHistory(History history);
    public int updateMailInfo(MailInfo mailInfo);
    public CopySettingsVO getCopySettings();
    public int updateCopySettings(CopySettingsParam param);
}
